package foodmaterial.entity;

import foodmaterial.action.valid.ObjectNullValid;

import java.io.Serializable;

public class CustomerFoodMaterialSupplier implements Serializable {

    private static final long serialVersionUID = 3872213497424364771L;
    private Long id;
    @ObjectNullValid(message = "客户不能为空")
    private Long customerId ;
    private String customerName ;
    @ObjectNullValid(message = "供应商不能为空")
    private Long supplierId ;
    private String supplierName ;
    @ObjectNullValid(message = "食材不能为空")
    private Long foodMaterialId ;
    private String foodMaterialName ;
    private Integer pageNo ;
    private Integer pageSize ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Long getFoodMaterialId() {
        return foodMaterialId;
    }

    public void setFoodMaterialId(Long foodMaterialId) {
        this.foodMaterialId = foodMaterialId;
    }

    public String getFoodMaterialName() {
        return foodMaterialName;
    }

    public void setFoodMaterialName(String foodMaterialName) {
        this.foodMaterialName = foodMaterialName;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
